package com.pan.dao.seckillCouponResult;

import com.pan.entity.SeckillCouponResult;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface SeckillCouponResultSelectDao{
    SeckillCouponResult selectById(Long id);
    List<SeckillCouponResult> selectByCouponId(Long couponId);
    List<SeckillCouponResult> selectByUserId(Long userId);
    List<SeckillCouponResult> selectBySeckillTime(Timestamp seckillTime);
    List<SeckillCouponResult> selectByOperationTime(Timestamp operationTime);
    List<SeckillCouponResult> selectByCode(Integer code);
    List<SeckillCouponResult> selectByMessage(String message);
}